<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="<?=domain?>static/style/manage.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?=domain?>static/scripts/core.js" charset="utf-8"></script>
<script type="text/javascript" src="<?=domain?>static/scripts/manage.js" charset="utf-8"></script>
<title><?=name?></title>
<body class="hoariness">
<div class="head">
	<div class="area">
		<div class="logo">网站联盟管理后台</div>
		<div class="parent">
			<div class="nav">
				<ul>
					<?php
						foreach($menu as $key=>$value){
							echo '<li><a href="'.domain.'index.php?c='.$value['child'][0]['controller'].'&a='.$value['child'][0]['method'].'" class="'.($this->request['controller']==$value['controller']?'sel':'').'">'.$value['name'].'</a></li>';
						}
					?>
	    		</ul>
			</div>
			<div class="user">欢迎您&nbsp;<?=$name?>&nbsp;,<a href="<?=domain?>index.php?c=manage&a=out">【退出】</a></div>
		</div>
	</div>
	<div class="child">
		<div class="nav">
			<?php
				$controller=0;$method=0;
				foreach($menu as $k=>$v){
					if($this->request['controller']==$v['controller']){
						$controller=$k;
						echo '<ul class="sel '.$v['controller'].'">';
					}else{
						echo '<ul class="'.$v['controller'].'">';
					}
					foreach($v['child'] as $key=>$value){
						if($value['method']==$this->request['method']){
							$method=$key;
						}
						echo '<li class="'.$value['method'].'"><a href="'.domain.'index.php?c='.$value['controller'].'&a='.$value['method'].'">'.$value['name'].'</a></li>';
					}
					echo '</ul>';
				}
			?>
		</div>
		<div class="place">当前位置:<?=$menu[$controller]['name']?>&nbsp;>&nbsp;<?=$menu[$controller]['child'][$method]['name']?></div>
	</div>
</div>
<div class="work">
	<div class="form">
		<form name="home" method="post" action="<?=domain?>index.php?c=account&a=password">
		<h3 class="real">
        	<div class="m"><?=$menu[$controller]['child'][$method]['name']?></div>
        </h3>
		<div class="area">
			<?php
				if(!empty($message)){
					foreach($message['msg'] as $key => $value){
			?>
			<div class="message <?=$message['result']?'success':'error';?>">
				<div class="msg"><?=$message['msg'][$key]?></div>
				<div class="close"></div>
			</div>
			<?php
				}}
			?>
			<div class="line">
				<div class="w m">旧密码</div>
				<div class="s"><input type="password" name="password" value="" maxlength="32"/></div>
				<div class="e c"><font color="red">*</font></div>
			</div>
			<div class="line">
				<div class="w m">新密码</div>
				<div class="s"><input type="password" name="new" value="" maxlength="32"/></div>
				<div class="e c"><font color="red">*</font>,6-32个字符的密码,不包含',"</div>
			</div>
			<div class="line">
				<div class="w m">再输入一遍新密码</div>
				<div class="s"><input type="password" name="affirm" value="" maxlength="32"/></div>
				<div class="e c"><font color="red">*</font>,重复你的密码.</div>
			</div>
			<div class="line"></div>
		</div>
		<div class="push">
			<input type="submit" name="save" value="保存" style="background-position:0px -23px;"/>
			<input type="reset" name="reset" value="重置" style="color:#CC0000;"/>
		</div>
		</form>
	</div>
</div>
<div class="footer">
	<div class="credits">Power by <a href="http://www.cnadlm.com" target="_blank">cnadlm.com</a></div>
	<div class="connect">
		<a href="http://www.cnadlm.com" target="_blank">系统升级</a>
		<a href="http://www.cnadlm.com/help.html" target="_blank">帮助文档</a>
	</div>
</div>
</body>
</html>